/* During the build process, the @deno/gfm CSS file is injected here. */

.markdown-body {
  line-height: 1.6;
  overflow: visible;
  background-color: transparent;
}

.markdown-body a {
  text-decoration: underline;
}

.markdown-body :where(b, strong) {
  font-weight: 650;
}

.markdown-body ul {
  list-style: disc;
}
.markdown-body ol {
  list-style: numeric;
}

@media screen and (max-width: 768px) {
  .markdown-body pre,
  .markdown-body .highlight pre {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .markdown-body pre {
    margin-inline: -1rem;
  }
}

@media screen and (max-width: 1024px) {
  .markdown-body.break pre > code {
    white-space: break-spaces;
    word-break: break-word;
  }
}

.markdown-body table {
  width: fit-content;
}

.markdown-body h2 {
  padding-bottom: 0.375em;
}

.markdown-body h2,
.markdown-body h3 {
  margin-top: 2em;
}

.markdown-body pre {
  border: 1.5px solid #cbd5e1;
}

@media screen and (min-width: 1024px) {
  .markdown-body .highlight pre,
  .markdown-body pre {
    padding: 1.5rem;
  }
}

.markdown-body blockquote {
  padding: 1.5rem;
  background: #f1f5f9; /* cyan-200 */
}

.markdown-body p,
.markdown-body blockquote,
.markdown-body ul,
.markdown-body ol,
.markdown-body dl,
.markdown-body table,
.markdown-body pre,
.markdown-body details,
.markdown-body .highlight {
  margin-bottom: 1.25rem;
}

.dark .markdown-body {
  pre {
    border-color: #26292d; /* jsr-gray-900 */
  }

  blockquote {
    background: #26292d; /* jsr-gray-900 */
  }
}
